from docx import Document

filename = r'F:\script_python\weiboSpider-master\weibo_spider\weibo\2023-12-11'
filename2 = r'F:\script_python\weiboSpider-master\weibo_spider\weibo\2023-12-11'
# document = Document()
# document.add_picture(filename + '.jpg')
# document.save(filename + '.doc')

if filename == filename2:
    print(filename2[:-1])
else:
    print('no')